package facade.main.facade;

import facade.main.common.ISpareribs;
import facade.main.common.Spareribs;

public class CookFacade implements ICookFacade {
    //糖醋排骨接口
    private static ISpareribs spareribs = new Spareribs();

    @Override
    public void cookSpareribs() {
        spareribs.ready();
        spareribs.preserve();
        spareribs.fry();
        spareribs.juice();
    }
}
